import asyncio
import time


async def hello():
    print("Hello, world!")
    await asyncio.sleep(5)
    print("Hello again, world!")


async def main():
    print("Start")
    h = asyncio.create_task(hello())
    print("Waiting for hello()")
    await h
    print("end")


if __name__ == "__main__":
    start_time = time.time()
    asyncio.run(main())
    print("--- %s seconds ---" % (time.time() - start_time))
